<script src="/javascripts/calendar.js"></script>
<link href="/stylesheets/awesome-form.css" rel="stylesheet" type="text/css" media="all" />
<%=flash[:notice]%>
<%=flash[:warning]%>
<h1>Signup</h1>
<br/>
	<form class="awesome" method="post" action="" enctype="multipart/form-data">
				<label for="user_login">Choose a Username </label><input name="login" value="<%=params[:login]%>" />
<p class="desc">Name must be only letters and/or numbers; no spaces.</p>
<br/>
<label for="user_password">Choose a password </label><input type="password" name="password"  value="<%=params[:password]%>" /><br/>
<label for="user_password_confirmation">Password Confirmation </label><input type="password" name="password_confirmation" value="<%=params[:password_confirmation]%>" /><br/>
<label for="user_email">What's your email </label><input name="email" value="<%=params[:email]%>" /><br/>

		<label for="location">What's your zipcode? </label>
		<input type="text" name="location" id="location" value="<%=params[:location]%>" />
<br/>
<p class="desc">Since this is public, you may wish to only supply your zipcode, postal code or city and state.</p>
<br/>
		<input name="referer" type="hidden" value="<%= @referer %>" />
		<input type="submit" value="signup" style="width:80px" />
		</form>

<!--
		<DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>
				<DIV ID="testdiv2" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>
		<script LANGUAGE="JavaScript" ID="jscal1x">
var cal1x = new CalendarPopup("testdiv1");
var cal2x = new CalendarPopup("testdiv2");
</script>
		
		</script>
		<label for="begins"><A HREF="#"
		                     onclick="cal1x.select(document.forms[0].begins,'anchor1x','yyyy-MM-dd');
		                               return false;"
		                     title="cal1x.select(document.forms[0].begins,'anchor1x','yyyy-MM-dd');
		                     return false;">When were you born?</a>
		                 </label><a name="anchor1x" id="anchor1x"></a>
		<input type="text" name="begins" id="begins" value="<%=@nuser.begins%>" />
<br/>
		<p class="desc">Use day/month/year such as <%=Time.new.day%>/<%=Time.new.month%>/<%=Time.new.year-21%></p>
	-->	
		
